#ifndef HEROPLANE_H
#define HEROPLANE_H

#include<qrect.h>
#include<qpixmap.h>

class heroplane
{
public:
    heroplane();

    //发射子弹
    void shoot();
    //设置飞机位置
    void setPosition(int x, int y);

public:
    //飞机图片对象
    QPixmap m_Plane;

    //飞机坐标
    int m_X;
    int m_Y;

    //飞机的矩形边框
    QRect m_Rect;



};

#endif // HEROPLANE_H
